package com.example.myandroidactualcombat.data;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

public class Collection {
    private int userid;
    private int bookid;
    private String bookname;
    private int imageId;
    private boolean ifcollection;

    public Collection(int userid, int bookid, String bookname, int imageId, boolean ifcollection) {
        this.userid = userid;
        this.bookid = bookid;
        this.bookname = bookname;
        this.imageId = imageId;
        this.ifcollection = ifcollection;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getBookid() {
        return bookid;
    }

    public void setBookid(int bookid) {
        this.bookid = bookid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public int getImageId() {
        return imageId;
    }

    public void setImageId(int imageId) {
        this.imageId = imageId;
    }

    public boolean isIfcollection() {
        return ifcollection;
    }

    public void setIfcollection(boolean ifcollection) {
        this.ifcollection = ifcollection;
    }
}
